package com.junmoxiao.baseadmin.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: tb_user_role
 */
@Data
public class UserRoleEntity implements Serializable {
    /**
     * 主键
     *
     * Table:     tb_user_role
     * Column:    id
     * Nullable:  false
     */
    private Integer id;

    /**
     * 员工主键id
     *
     * Table:     tb_user_role
     * Column:    user_id
     * Nullable:  false
     */
    private Integer userId;

    /**
     * 角色主键id
     *
     * Table:     tb_user_role
     * Column:    role_id
     * Nullable:  false
     */
    private Integer roleId;

    /**
     * 分配人id
     *
     * Table:     tb_user_role
     * Column:    create_user_id
     * Nullable:  true
     */
    private Integer createUserId;

    /**
     * 分配时间
     *
     * Table:     tb_user_role
     * Column:    create_time
     * Nullable:  true
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tb_user_role
     *
     * @mbggenerated Thu Oct 15 13:19:35 CST 2020
     */
    private static final long serialVersionUID = 1L;
}